package com.spring.controller;

import org.springframework.stereotype.Controller;
import com.spring.service.UserService;

import javax.annotation.Resource;

@Controller
public class UserController {
   @Resource
    private UserService userService;
    public void print(){
        System.out.println("userController");
        userService.print();
    }

}
